{template common/contentheader}
<div class="setcontent">
	<div class="settitle">
		<h3>{lang admin_content_topic:admin}</h3>
	</div>
	<div class="alert alert-info mt10">
		<span class="label label-info">{lang info:admin}</span>
		{lang admin_content_topic:admin}
	</div>
	<div class="setform">
		<table class="table table-striped">
        <thead>
          <tr>
            <th width="30">ID</th>
            <th width="80">{lang topic_title}</th>
            <th width="80">{lang category_name:admin}</th>
            <th width="150">{lang topic_desc}</th>
            <th width="100">{lang keyword:admin}</th>
            <th width="80">{lang operation:admin}</th>
          </tr> 
        </thead>
        <tbody>
        {loop $topics $key $sm}
			<tr>  
			<td>$sm['topic_id']</td>
			<td>$sm['topic_title']</td>
			<td>$sm['category_name_cn']</td>
			<td>$sm['topic_desc']</td>
			<td>$sm['keyword']</td>
			<td><a href="{url admin/contenttopic?act=delete&topicid=$sm['topic_id']}">{lang delete:admin}</a> 
			<a href="{url admin/contenttopic?act=edit&topicid=$sm['topic_id']}">{lang edit:admin}</a></td>
          	</tr>
		{/loop}
          
        </tbody>
		</table>
		<div class="text_c">$pages</div>
	</div>
</div>
{template common/contentfooter}